//
//  SportsModel.m
//  WangI
//
//  Created by dllo on 15/11/23.
//  Copyright © 2015年 WJN. All rights reserved.
//

#import "SportsModel.h"

@implementation SportsModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
//    if ([key isEqualToString:@"imgextra"]) {
//        NSArray *array = value;
//        NSMutableArray *mutableArray = [[NSMutableArray alloc] init];
//        for (NSDictionary *dic in array) {
//            [mutableArray addObject:[dic valueForKey:@"imgsrc"]];
//        }
//        self.imgextra_array = [[NSArray alloc] initWithArray:mutableArray];
//    }
}

- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}

- (instancetype)initWithDicitionary:(NSDictionary *)data
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:data];
    }
    return self;
}

@end
